package com.ueboot.weishop.repository.customer;

import com.ueboot.weishop.entity.customer.CustomerCouponEntity;
import com.ueboot.core.repository.BaseRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Neel on 2017/9/18.
 */
@Repository
public interface CustomerCouponRepository extends BaseRepository<CustomerCouponEntity, Long> {


    List<CustomerCouponEntity> findByVinAndSourceAndSourceType(String vin, String source, String sourceType);

	List<CustomerCouponEntity> findByCustomerOpenId(String openId);
}
